# employee = {
#     'wlh': {
#         'bm': 'kjb',
#         'gz': 3000,
#         'jb': 1
#     }, 'zjl': {
#         'bm': 'scb',
#         'gz': 5000,
#         'jb': 2
#     }, 'ljj': {
#         'bm': 'scb',
#         'gz': 7000,
#         'jb': 3
#     }, 'zxy': {
#         'bm': 'kjb',
#         'gz': 4000,
#         'jb': 1
#     }, 'ldh': {
#         'bm': 'scb',
#         'gz': 6000,
#         'jb': 1}
# }
# for k in employee:
#     print(f"{k}:{employee[k]}")
# print("jiaxinohou")
# for k in employee:
#     if employee[k]['jb']==1:
#         employee[k]['jb'] =2
#         employee[k]['gz']+=1000
#     print(f"{k}:{employee[k]}")
#
# my_list =[["g",2],["b",4],["c",9]]
# # my_list.reverse()
# my_list.sort(key=lambda element: element[1],reverse=False)
# print(my_list)

class stu:
    name=None
    gender=None
    age=None
    def __init__(self,name,gender,age):
        self.name=name
        self.gender=gender
        self.age=age
        print("successful one")
    def saiHi(self):
        print("Hello Nice to meet you")
    def saiHi2(self,msg):
        print(f"Nice to meet you too,I'm {msg}")

s1=stu("hank","女",19)
s2=stu("fuck","男",90)
print(f"{s2.name},{s2.gender},{s2.age}")
# s1.name="hank"
# s1.gender="女"
# s1.age=19
print(f"{s1.age} {s1.gender} {s1.name}")
s1.saiHi()
s1.saiHi2("jack")